package top.shaozuo.simple.serialize;

/**
 * 序列化 与 反序列化
 * 
 * @author zhangshimin
 *
 */
public interface Serialization {

	byte[] serialize(Object value);

	<T> T deserialize(byte[] bytes, Class<T> clazz);
}
